#include <stdio.h>

void PrintImage() {
    int star = 1;
    int space = 9 - star;
    for (int i = 0; i < 5; i++) {
        for (int j = 0; j < space; j++)
            printf(" ");
        for (int j = 0; j < star; j++)
            printf("*");
        star += 2;
        space = 9 - star;
        printf("\n");
    }
    space = 0;
    star = 9 - space;
    for (int i = 0; i < 5; i++) {
        for (int j = 0; j < space; j++)
            printf(" ");
        for (int j = 0; j < star; j++)
            printf("*");
        space += 2;
        star = 9 - space;
        printf("\n");
    }    
}

int main() {
    PrintImage();
    return 0;
}